package deom1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-23
 * Time: 9:48
 */
class Shape {
    public void draw() {
        System.out.println("画一个图形！");
    }
}
class Rectangle extends Shape{
    @Override
    public void draw() {
        System.out.println("矩形！！！");
    }
}
class Circle extends Shape{
    @Override
    public void draw() {
        System.out.println("圆形！！！");
    }
}